// 菜单标题数据，响应式显示

const menuList = [
  {
    title: 'RBAC-Admin',
    index: '/',
    icon: 'logo',
    isPublic: true,
  },
  {
    title: '仪表盘',
    index: '/dashboard',
    icon: 'DataBoard',
    children: [
      {
        title: '首页',
        index: '/dashboard/home',
        icon: 'House',
      },
      {
        title: '工作台',
        index: '/dashboard/workbench',
        icon: 'Monitor',
      },
    ],
  },
  {
    title: '个人办公',
    index: '/personal',
    icon: 'Briefcase',
    isPublic: true,
    children: [
      {
        title: '我的任务',
        index: '/personal/task',
        icon: 'List',
      },
      {
        title: '我发起流程',
        index: '/personal/workflow',
        icon: 'Share',
      },
      {
        title: '我的抄送',
        index: '/personal/copy',
        icon: 'DocumentCopy',
      },
    ],
  },
  {
    title: '个人申请',
    index: '/personalapply',
    icon: 'Document',
    children: [
      {
        title: '请假申请',
        index: '/personalapply/leave',
        icon: 'Calendar',
      },
      {
        title: '出差申请',
        index: '/personalapply/business',
        icon: 'Location',
      },
      {
        title: '报销申请',
        index: '/personalapply/reimbursement',
        icon: 'Money',
      },
      {
        title: '公文发送',
        index: '/personalapply/document',
        icon: 'Document',
      },
      {
        title: '我的申请',
        index: '/personalapply/apply',
        icon: 'Tickets',
      },
    ],
  },
  {
    title: 'OA申请',
    index: '/oaOffice',
    icon: 'OfficeBuilding',
    children: [
      {
        title: '工单申请',
        index: '/oaOffice/orderApplyList',
        icon: 'Edit',
      },
      {
        title: '我的工单',
        index: '/oaOffice/myOrder',
        icon: 'Tickets',
      },
      {
        title: '工单审核',
        index: '/oaOffice/orderAudit',
        icon: 'Check',
      },
    ],
  },
  {
    title: '企业管理',
    index: '/company',
    icon: 'OfficeBuilding',
    children: [
      {
        title: '人员管理',
        index: '/company/user',
        icon: 'User',
      },
      {
        title: '角色管理',
        index: '/company/role',
        icon: 'Avatar',
      },
      {
        title: '团队管理',
        index: '/company/team',
        icon: 'UserFilled',
      },
      {
        title: '部门管理',
        index: '/company/department',
        icon: 'Grid',
      },
    ],
  },
  {
    title: '消息中心',
    index: '/message',
    icon: 'MessageBox',
    children: [
      // 子菜单列表
      {
        title: '消息模版',
        index: '/message/template',
        icon: 'Document',
      },
      {
        title: '我的消息',
        index: '/message/index',
        icon: 'ChatDotRound',
      },
      {
        title: '消息推送',
        index: '/message/push',
        icon: 'Promotion',
      },
    ],
  },
  {
    title: '组件&功能',
    index: '/demo',
    icon: 'Tools',
    children: [
      // 子菜单列表
      {
        title: '按钮',
        index: '/demo/button',
        icon: 'Pointer',
      },
      {
        title: '消息',
        index: '/demo/message',
        icon: 'Bell',
      },
      {
        title: '表格',
        index: '/demo/table',
        icon: 'Grid',
      },
      {
        title: '表单',
        index: '/demo/form',
        icon: 'Edit',
      },
    ],
  },
]
export default menuList
